@ECHO OFF
IF EXIST "%programfiles%\Phidgets" (

        java -Djava.library.path=lib;"%programfiles%\Phidgets" -cp .;lib\skype.jar;lib\swt.jar;lib\phidget21.jar TugOfWarClient %1 %2 %3 %4
) ELSE (

        ECHO ERROR ! Phidget toolkit is missing:
        ECHO %programfiles%\Phidgets NOT FOUND
        
)
